#ifndef DNCATEGORYSELECTDLG_H
#define DNCATEGORYSELECTDLG_H

//#include <QDialog>
#include "precomp.h"

class TDomain ;

namespace Ui {
class DnCategorySelectDlg;
}

class DnCategorySelectDlg : public QDialog
{
    Q_OBJECT

public:
    explicit DnCategorySelectDlg(QWidget *parent = nullptr);
    ~DnCategorySelectDlg();
    QStandardItemModel* m_model;
    TDomain *m_tDomain;
    int m_CategoryId =-1;
private:
    Ui::DnCategorySelectDlg *ui;

private slots:
    void slotChangeDnCategory(QModelIndex index);

    void on_btn_ok_clicked();
    void on_btn_cancel_clicked();
};

#endif // DNCATEGORYSELECTDLG_H
